

//图层类型
.layers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: absolute;
  right: 20px;
  top: 12%;
  min-width: 140px;
  .layerActive {
    color: #307efe;
  }
  .layer-type-s {
    display: flex;
    flex-direction: column;

    .layer-type {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      cursor: pointer;
      gap: 8px;

      &.active {
        .layer-item {
          color: #ffffff;
            background: #fff;
            border: 1px solid red;
        }
      }

      .layer-item {
        background: #ffffff;
        color: #333;
        border: 1px solid #ffffff;
        -webkit-box-shadow: -5px 0px 27px 0px rgba(102, 102, 102, 0.17);
        box-shadow: -5px 0px 27px 0px rgba(102, 102, 102, 0.17);
        border-radius: 9999px;
        font-size: 14px;
        font-family: Source Han Sans CN;
        font-weight: 400;
        display: flex;
        justify-content: center;
        align-items: center;

        background: #ffff;
          color: #ffff;
          border: 1px solid rgba($color: #ffff, $alpha: 0.5);
      }

      .layer-left {
        height: 25px;
        padding: 2px 11px;
      }

      .layer-right {
        width: 30px;
        height: 30px;
        font-size: 16px;
      }
    }
  }

  .controlLevel {
    background: rgba(255, 255, 255, 1);
    box-shadow: -5px 0px 27px 0px rgba(102, 102, 102, 0.17);
    border-radius: 4px;
    padding: 4px 8px;
    align-self: center;

   background: #ffff;
      border: 1px solid rgba($color: #ffff, $alpha: 0.5);

    ::v-deep {
      .el-checkbox-group {
        display: flex;
        flex-direction: column;
        gap: 4px;
      }

      .el-checkbox__label {
        font-family: Source Han Sans CN;
        font-size: 12px;
      }
    }
  }

  .layer-svg {
    width: 25px;
    height: 25px;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3px;
    // color: #999999;
  }

  //更多图层
  .more-layer {
    ::v-deep {
      .el-checkbox-group {
        display: flex;
        flex-direction: column;
        gap: 4px;
      }

      .el-checkbox__label {
        font-size: 12px;
        font-family: Source Han Sans CN;
      }
    }
  }
}
.other-layer {
  display: flex;
  flex-direction: column;

  .other-layer-item {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    height: 34px;
    cursor: pointer;

    &:only-child {
      .layer-right {
        border-radius: 50% !important;

       border: 1px solid red;
      }
    }

    &:last-child {
      .layer-right {
        border-radius: 0 0 50% 50%;

       border-bottom: 1px solid #ffff;
      }
    }

    &:first-child {
      .layer-right {
        border-radius: 50% 50% 0 0;

        border-top: 1px solid #ffff;
      }
    }

    &.active {
      .layer-left {
        color: #ffffff;
          background: #fff;
          border: 1px solid red;
      }

      .layer-right {
        div {
          color: #ffffff;
            background: #fff;
            border: 1px solid rgba($color: #ffff, $alpha: 0.5);
        }
      }
    }

    .layer-left {
      display: flex;
      align-items: center;
      gap: 6px;
      background: #ffffff;
      padding: 0 11px;
      border-radius: 20px;
      font-size: 14px;
      font-family: Source Han Sans CN;
      font-weight: 400;
      color: #333;
      height: 25px;

      background: #ffff;
        color: #ffff;
        border: 1px solid rgba($color: #ffff, $alpha: 0.5);
    }

    .layer-right {
      height: 100%;
      aspect-ratio: 1 / 1;
      background: #ffffff;
      color: #999999;
      display: flex;
      justify-content: center;
      align-items: center;

      background: #ffff;
        border-left: 1px solid
          rgba($color: #ffff, $alpha: 0.5);
        border-right: 1px solid
          rgba($color: #ffff, $alpha: 0.5);

      svg {
        font-size: 16px;
      }

      div {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;

       background: #ffff;
          color: #ffff;
      }
    }

    .layer-left-item {
     background: #ffff;

      &.active {
       color: #ffffff;
          background: #fff;
      }
    }
  }
}
//更多因子
.heatmore-panel {
  max-height: 280px;
  overflow: hidden;
  overflow-y: auto;
  text-align: left !important;

  li {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    font-family: Source Han Sans CN;
    font-weight: 400;
    color: #333333;
    padding-left: 16px;
    cursor: pointer;

    color: #ffff;

    &:hover,
    &.active {
      color: #ffffff;
      border-radius: 4px;

      background-color: #fff;
    }
  }
}

.riverQuality {
  background: rgba(255, 255, 255, 1);
  box-shadow: -5px 0px 27px 0px rgba(102, 102, 102, 0.17);
  border-radius: 15px;
  font-size: 14px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  color: var(--current-color);
  padding: 2px 11px;
  width: fit-content;
  cursor: pointer;

  color: #fff;
    background: #ffff;
    border: 1px solid rgba($color: #ffff, $alpha: 0.5);

  svg {
    color: red($color: #000000);
  }
}
